package com.ship.dispatch.service;

import com.ship.dispatch.bean.HomePage.ConHomePage;
import com.ship.dispatch.bean.HomePage.ConHomePageAll;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface ConHomePageServer {
    void insetOrUpdateByImo(List<ConHomePage> conHomePageList);

    List<String> getAllImo();

    List<ConHomePage> getAisStatus(List<String> imoList, String tableName);

    List<ConHomePage> getAll();

    List<String> getAllConId();

    List<ConHomePageAll> getByConIdList(List<String> conIdList);

    List<Map<String, String>> getLastVoyage();

    List<Map<String, String>> getNowVoyage(List<String> imolist) throws ParseException;

}
